import request from "../utils/request.js"


//发布考勤
export function kaoqin(data) {
  return request({
    url: "/teacher.php/Kaoqin/kaoqin",
    data,
  })
}

//停止考勤
export function stopkaoqin(data) {
  return request({
    url: "/teacher.php/Kaoqin/stopkaoqin",
    data,
  })
}

//已考勤的学生
export function stuyiqian(data) {
  return request({
    url: "/teacher.php/Kaoqin/stuyiqian",
    data,
  })
}

//未考勤的学生
export function stuweiqian(data) {
  return request({
    url: "/teacher.php/Kaoqin/stuweiqian",
    data,
  })
}
//老师考勤日志
export function index(data) {
  return request({
    url: "/teacher.php/Kaoqin/index",
    data,
  })
}

//获取班级名称
export function getClassInfo(data) {
  return request({
    url: "/teacher.php/Kaoqin/getClassInfo",
    data,
  })
}
//日志中已考勤的学生
export function stukaoqin(data) {
  return request({
    url: "/teacher.php/Kaoqin/stukaoqin",
    data,
  })
}

//日志中未考勤的学生
export function nokaoqin(data) {
  return request({
    url: "/teacher.php/Kaoqin/nokaoqin",
    data,
  })
}